Determine the direction of XKB groups from their content, not by looking
authorMatthias Clasen <mclasen@redhat.com>
Mon, 29 Nov 2004 14:25:22 +0000 (14:25 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 29 Nov 2004 14:25:22 +0000 (14:25 +0000)
commitc61b0e4a07d4a4147ba9d57fe0b04d95c8bea84c
tree8216368a7f44e9692d241bef175105bda1401e8e
parente08caa5bae054c3b1d528e61b390a6f1b129f791
Determine the direction of XKB groups from their content, not by looking

2004-11-29  Matthias Clasen  <mclasen@redhat.com>

Determine the direction of XKB groups from their content,
not by looking for hardcoded keymap names.  (#116626, patch by
Behdad Esfahbod, based on an earlier patch by Ilya Konstantinov)

* gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Cache directions
for XKB groups.
(get_direction): Determine direction of group by looking at
directions of keysyms.
(update_direction): Maintain the cache of group directions.
(gdk_keymap_get_direction): Use update_direction().
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/x11/gdkkeys-x11.c